Skip to content

arm64: dts: apple: t603[124]: Add "capacity-dmips-mhz" properties#514

Merged
jannau merged 1 commit into
AsahiLinux:bits/001-devicetree-m3from
yuyuyureka:t6034-capacity-dmips-mhz
Jun 4, 2026
Merged

arm64: dts: apple: t603[124]: Add "capacity-dmips-mhz" properties#514
jannau merged 1 commit into
AsahiLinux:bits/001-devicetree-m3from
yuyuyureka:t6034-capacity-dmips-mhz

Conversation

@yuyuyureka
Copy link
Copy Markdown

Values determined using coremark.

i-cache-size = <0x20000>;
d-cache-size = <0x10000>;
operating-points-v2 = <&sawtooth_opp>;
capacity-dmips-mhz = <933>;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks too high to me. M3 Max e-cores clock 180 MHz slower (6.5%) than M3 Pro's so it's unlikely that they are faster than on t6030. Can you retry the benchmark with the p-cores capping maxspeed to ~3500 Mhz and ~3700 MHz to ensure it's not running at al lower p-state.
Confirmation from T6031 would be nice as well, @WhatAmISupposedToPutHere ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coremark on CPU core 1 at 2568 MHz: Iterations/Sec : 21939.447126
coremark on CPU core 6 at 4056 MHz: Iterations/Sec : 39909.538380

So, closer to 889 if i did the math right

Copy link
Copy Markdown
Author

@yuyuyureka yuyuyureka Jun 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P-Core at different max freq:
coremark on CPU core 0 at 3516 MHz: Iterations/Sec : 37225.462216
coremark on CPU core 0 at 3708 MHz: Iterations/Sec : 39231.071008
coremark on CPU core 0 at 4056 MHz: Iterations/Sec : 40894.220284

E-Core:
coremark on CPU core 1 at 2568 MHz: Iterations/Sec : 23089.355807

>>> 23089*1024/40894*4056/2568
913.1632280219341
>>> 23089*1024/39231*3708/2568
870.2026630189695
>>> 23089*1024/37225*3516/2568
869.6093907345455
>>> 

So more like 870?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still wondering why the p-core is so much slower. I see ~43000 Iterations/Sec on p-cores using fedora rawhide

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so the low value for 4056 MHz is probably caused by not reaching the highest p-state. I wondering whether my tests reached it.
870 still looks high but more reasonable. I think we'll have a chance to adjust it when we measure opp-microwatt for the operating-points.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Killed kwin/wpa_supplicant/all the systemd bits and plugged in the charger, getting 22026.431718 on ecore, 42474.869036 on pcore.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

42474.869036 on pcore

Same after stopping lots of services.

22026.431718 on ecore

I still get >23000 on ecore, resulting in 870 relativized

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still see ~24k and ~43k iterations/s when running coremark on M3 Pro in a terminal in KDE Plasma with power disconnected and ~80% charged battery. approximate 844 capacity-dmips-mhz so slightly lower than 851 I committed.
If M3 Max doesn't reach all p-states on battery maybe we should mark those as "turbo-mode" although I'm not sure if/how we make boost_enabled in cpufreq conditional on AC power.

I'm going to merge this under the assumption that the lower frequency on t6031/t6034 doesn't result in proportionate e-core performance drop.

Values determined using coremark.

Signed-off-by: Yureka <yuka@yuka.dev>
@yuyuyureka yuyuyureka force-pushed the t6034-capacity-dmips-mhz branch from d6d0556 to 101ec0c Compare June 4, 2026 17:04
@jannau jannau merged commit 63c375d into AsahiLinux:bits/001-devicetree-m3 Jun 4, 2026
1 check passed
@yuyuyureka yuyuyureka deleted the t6034-capacity-dmips-mhz branch June 4, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants